package day_806;

import java.io.ObjectOutputStream;
import java.io.Serializable;

public class Test implements Serializable {
	private Integer id;
	private String name;
	private Integer age;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	private String classname;

	public Test() {

	}

	public Test(int id, String name, int age, String classname) {

	}

	@Override
	public String toString() {
		return "Test [id=" + id + ", name=" + name + ", age=" + age + ", classname=" + classname + "]";
	}

}
